<?php

return [

    'socket' 	=>	'http://127.0.0.1:8000', // 前端地址
    'name'		=>	'thinkphp',
    'count'		=>	4,
    'onMessage'	=>	function($connection, $data) {
        $connection->send($data);
    },


    'worker_class'	=>	'app\http\Worker',   // 定义了这行后，上述配置失效

];